import Cookies from 'js-cookie'

const userInfoKey = "userInfoKey"
const fullUserInfoKey = "fullUserInfoKey"

export function getUserInfo() {
    return Cookies.get(userInfoKey)
}

export function setUserInfo(userinfo) {
    return Cookies.set(userInfoKey, userinfo)
}

export function getFullUserInfo() {
    return Cookies.get(fullUserInfoKey)
}

export function setFullUserInfo(userinfo) {
    return Cookies.set(fullUserInfoKey, userinfo)
}
